package cn.lingyangwl.agile.infra.job.mapper;

import cn.lingyangwl.agile.infra.job.model.entity.JobLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * 调度任务日志信息 数据层
 * 
 * @author shenguangyang
 */
@Mapper
public interface JobLogMapper extends BaseMapper<JobLog> {
    /**
     * 清空任务日志
     */
    @Update("truncate table infra_job_log")
    void cleanJobLog();
}
